package com.ylb.rent.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ylb.rent.entity.Permission;
import com.ylb.rent.entity.RolePermission;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @AUTHOR:游李滨
 * @DATE:2023/6/28 21:24
 */
@Repository
public interface PermissionDao extends BaseMapper<Permission> {

    Permission selectById(long id);
    List<Permission> selectAll();
}
